home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8"?>
- <html><head><title>Sub Statement [Runtime]</title><meta name="filename" content="text/sbasic/common/03090409"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
-
- p.P1{
- }
- p.P2{
- }
- </style></head><body>
-
-
- <help:to-be-embedded Eid="sub" xmlns:help="http://openoffice.org/2000/help">
- <p class="Head1"><help:link Id="66439">Sub Statement [Runtime]</help:link></p>
- <p class="Paragraph">Defines a subprocedure.</p>
- </help:to-be-embedded>
- <p class="P2">Syntax</p>
- <p class="Paragraph">see Parameter</p>
- <p class="Paragraph">statement block</p>
- <p class="Paragraph">[Exit Sub]</p>
- <p class="Paragraph">statement block</p>
- <p class="Paragraph">End Sub</p>
- <p class="P2">Parameter</p>
- <p class="Paragraph">Name: Name of the subprocedure.</p>
- <p class="Paragraph">VarName: Parameter to be passed to the subprocedure.</p>
- <p class="P2">Type: Type-declaration key word.</p>
- <p class="Paragraph">Name: Name of the subroutine.</p>
- <p class="Paragraph">VarName: Parameter to be passed to the subroutine.</p>
- <p class="Paragraph">Type: Type-declaration key word.</p>
- <p class="P2">Example:</p>
- <p class="PropText">Sub ExampleShell</p>
- <p class="PropText"/>
- <p class="PropText">end sub</p>
- <p class="PropText"/>
- </body></html>